\hypertarget{sort_by_date_added_8php}{
\section{sortByDateAdded.php File Reference}
\label{sort_by_date_added_8php}\index{sortByDateAdded.php@{sortByDateAdded.php}}
}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{sort_by_date_added_8php_a18b2a8d133fa7733bf34abcc6ca2ef5b}{\$category} = \$\_\-SESSION\mbox{[}'category'\mbox{]}
\item 
\hyperlink{sort_by_date_added_8php_af59a5f7cd609e592c41dc3643efd3c98}{\$query} = \char`\"{}SELECT o.city, o.state, o.name, io.$\ast$ FROM opportunity io, ORGANIZATION o WHERE io.id = o.id AND io.categories LIKE '\%\$category\%' ORDER BY io.dateAdded DESC\char`\"{}
\item 
\hyperlink{sort_by_date_added_8php_a112ef069ddc0454086e3d1e6d8d55d07}{\$result} = mysql\_\-query(\$query)
\item 
\hyperlink{sort_by_date_added_8php_a421991d6ab7f46f80cc1b5492e0c236e}{\$numRows} = mysql\_\-num\_\-rows(\$result)
\item 
\hyperlink{sort_by_date_added_8php_a8b02cd56e4520e2af4b931c387defd8f}{for} (\$x=0;\$x$<$ \$numRows;\$x++)
\end{DoxyCompactItemize}


\subsection{Variable Documentation}
\hypertarget{sort_by_date_added_8php_a18b2a8d133fa7733bf34abcc6ca2ef5b}{
\index{sortByDateAdded.php@{sortByDateAdded.php}!\$category@{\$category}}
\index{\$category@{\$category}!sortByDateAdded.php@{sortByDateAdded.php}}
\subsubsection[{\$category}]{\setlength{\rightskip}{0pt plus 5cm}\$category = \$\_\-SESSION\mbox{[}'category'\mbox{]}}}
\label{sort_by_date_added_8php_a18b2a8d133fa7733bf34abcc6ca2ef5b}


Definition at line 4 of file sortByDateAdded.php.

\hypertarget{sort_by_date_added_8php_a421991d6ab7f46f80cc1b5492e0c236e}{
\index{sortByDateAdded.php@{sortByDateAdded.php}!\$numRows@{\$numRows}}
\index{\$numRows@{\$numRows}!sortByDateAdded.php@{sortByDateAdded.php}}
\subsubsection[{\$numRows}]{\setlength{\rightskip}{0pt plus 5cm}\$numRows = mysql\_\-num\_\-rows(\$result)}}
\label{sort_by_date_added_8php_a421991d6ab7f46f80cc1b5492e0c236e}


Definition at line 12 of file sortByDateAdded.php.

\hypertarget{sort_by_date_added_8php_af59a5f7cd609e592c41dc3643efd3c98}{
\index{sortByDateAdded.php@{sortByDateAdded.php}!\$query@{\$query}}
\index{\$query@{\$query}!sortByDateAdded.php@{sortByDateAdded.php}}
\subsubsection[{\$query}]{\setlength{\rightskip}{0pt plus 5cm}\$query = \char`\"{}SELECT o.city, o.state, o.name, io.$\ast$ FROM opportunity io, ORGANIZATION o WHERE io.id = o.id AND io.categories LIKE '\%\$category\%' ORDER BY io.dateAdded DESC\char`\"{}}}
\label{sort_by_date_added_8php_af59a5f7cd609e592c41dc3643efd3c98}


Definition at line 5 of file sortByDateAdded.php.

\hypertarget{sort_by_date_added_8php_a112ef069ddc0454086e3d1e6d8d55d07}{
\index{sortByDateAdded.php@{sortByDateAdded.php}!\$result@{\$result}}
\index{\$result@{\$result}!sortByDateAdded.php@{sortByDateAdded.php}}
\subsubsection[{\$result}]{\setlength{\rightskip}{0pt plus 5cm}\$result = mysql\_\-query(\$query)}}
\label{sort_by_date_added_8php_a112ef069ddc0454086e3d1e6d8d55d07}


Definition at line 7 of file sortByDateAdded.php.

\hypertarget{sort_by_date_added_8php_a8b02cd56e4520e2af4b931c387defd8f}{
\index{sortByDateAdded.php@{sortByDateAdded.php}!for@{for}}
\index{for@{for}!sortByDateAdded.php@{sortByDateAdded.php}}
\subsubsection[{for}]{\setlength{\rightskip}{0pt plus 5cm}{\bf for}(\$x=0;\$x$<$ \$numRows;\$x++)}}
\label{sort_by_date_added_8php_a8b02cd56e4520e2af4b931c387defd8f}


Definition at line 15 of file sortByDateAdded.php.

